#以下都是为了中文化app名称
# coding:utf-8\
from django.apps import AppConfig
import os

default_app_config = 'polls.PollsConfig'

VERBOSE_APP_NAME = u"商家后台"


def get_current_app_name(_file):
    return os.path.split(os.path.dirname(_file))[-1]


class PollsConfig(AppConfig):
    name = get_current_app_name(__file__)
    verbose_name = VERBOSE_APP_NAME